const jump=()=>{
    // console.log(event.target.dataset.index)
    window.location.href=`indexSort.html?${event.target.dataset.index}`
}
const jumpLogin=()=>{
    window.location.href='./login.html'
}
const toNewPage=()=>{
    location.href='./bookstock.html'
}
to=()=>{
    console.log(9999)
     const inputElement = document.querySelector('.ipt-box input');
    const searchText = inputElement.value.trim();
        console.log(searchText);
        inputElement.value = '';
        window.location.href = 'shearh.html?searchText=' + searchText;
}

diji=()=>{
    window.location.href='naodongxingqiu_author.html'
}

ju=()=>{
    console.log(9999)
    window.location.href='detail.html'
}